// 表单
@mixin form-variant($color) {
	.#{$ui-name}form-label {
		color: $color;
	}

	.#{$ui-name}form-input,
	.#{$ui-name}form-select,
	.#{$ui-name}form-textarea {
		border-color: $color;

		&:focus {
			border-color: darken($color, 10%);
			box-shadow: 0 2px 5px rgba($color, .4);
		}
	}

	&.#{$ui-name}has-feedback {
		.#{$ui-name}form-group {
			position: relative;

			.#{$ui-name}form-input,
			.#{$ui-name}form-select {
				padding-right: 30px;
			}

			.#{$ui-name}form-select {
				background-image: none;
			}

			.hiicon {
				position: absolute;
				top: 7px;
				right: 10px;
				@include size(14px 14px);
				text-align: center;
				font-size: 14px;
				padding: 3px;
				font-weight: 900;
				background-color: $color;
				color: #fff;
				border-radius: 50%;
			}
		}
	}
}